package com.mezz.bones.im.common.message.content;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: zhuang
 * @Date: 2024/12/19 14:13
 * @Description: TODO
 * @Version: 1.0
 **/

@ApiModel("图片消息")
@Data
public class ImageContent {


    @ApiModelProperty("图片多规格")
    private ImageBean[] images;

    @ApiModel("图片信息")
    private static class ImageBean {

        @ApiModelProperty("资源ID")
        private String resourceId;

        @ApiModelProperty("图片类型 1原图 2大图 3略缩图")
        private Integer type;

        @ApiModelProperty("图片大小/字节")
        private Integer size;

        @ApiModelProperty("图片宽度/像素")
        private Integer width;

        @ApiModelProperty("图片高度/像素")
        private Integer height;

        @ApiModelProperty("图片地址")
        private String url;
    }
}
